package com.yunchang.springboot.models.mwsreportbean;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 亚马逊api获取已完成订单表
 * </p>
 *
 * @author sjd
 * @since 2020-08-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mws_customer_shipment_sales")
@ApiModel(value="MwsCustomerShipmentSalesDO对象", description="亚马逊api获取已完成订单表")
public class MwsCustomerShipmentSalesDO extends Model<MwsCustomerShipmentSalesDO> {

    private static final long serialVersionUID = 1L;

    private String sellerId;

    private String area;

    @ApiModelProperty(value = "向买家配送订单的日期")
    private String shipmentDate;

    @ApiModelProperty(value = "库存单位 (SKU) 是由字母或数字组成、用于确认商品的唯一序列。由卖家分配 SKU。")
    private String sku;

    @ApiModelProperty(value = "亚马逊为其运营中心储存并配送的商品分配的唯一编码")
    private String fnsku;

    @ApiModelProperty(value = "亚马逊为其运营中心储存并配送的商品分配的唯一编码")
    private String asin;

    @ApiModelProperty(value = "负责发出订单的运营中心")
    private String fulfillmentCenterId;

    @ApiModelProperty(value = "订购商品的数量")
    private Integer quantity;

    @ApiModelProperty(value = "亚马逊分配给订单的唯一编号")
    private String amazonOrderId;

    @ApiModelProperty(value = "交易所用的当地货币")
    private String currency;

    @ApiModelProperty(value = "为每件商品支付的商品价格")
    private BigDecimal itemPricePerUnit;

    @ApiModelProperty(value = "每件商品的运费")
    private BigDecimal shippingPrice;

    @ApiModelProperty(value = "礼品包装（如果买家要求的话）所需支付的费用")
    private BigDecimal giftWrapPrice;

    @ApiModelProperty(value = "目的地城市")
    private String shipCity;

    @ApiModelProperty(value = "目的地州、地区或省")
    private String shipState;

    @ApiModelProperty(value = "目的地邮政编码")
    private String shipPostalCode;

    @ApiModelProperty(value = "授予分数")
    private BigDecimal pointsGranted;

    @ApiModelProperty(value = "是否生成财务数据状态")
    private Integer financeStatus;

    private String createTime;

    private String updateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
